package cn.ldw.service;

import cn.ldw.pojo.User;
import cn.ldw.vo.UserParams;
import cn.ldw.vo.LoginParams;
import cn.ldw.vo.ModifyParams;
import cn.ldw.vo.Result;

public interface UserService {

    Result login(LoginParams loginParams);

    Result register(LoginParams loginParams);

    Result loginout(String token);

    Result info();

    Result modify(ModifyParams modifyParams);

    Result userInfo();

    Result addUser(UserParams userParams);

    Result delete(User user);

    Result modifyUser(UserParams userParams);
}
